package TwT;

public class Main {
    public static void main(String[] args) {
        Worker a = new Worker("张三",28,"111111","Baidu","12345");
        a.Display();
        a.Work();

        System.out.println("====================");

        Worker b = new Worker("李四",30,"222222","Tencent","23456");
        b.Display();
        b.Work();

        System.out.println("====================");

        Teacher c = new Teacher("王老师",33,"333333","TianJin University","62");
        c.Display();
        c.Teach();

        System.out.println("====================");

        Teacher d = new Teacher("陈老师",35,"444444","Beijing University","30");
        d.Display();
        d.Teach();

        System.out.println("====================");

        Student e = new Student("小明",18,"555555","Nanjing University","大一");
        e.Display();
        e.Study();

        System.out.println("====================");

        Student f = new Student("小红",20,"666666","Tsinghua University","大三");
        f.Display();
        f.Study();

    }
}
